/*
 * 文件名称: ModuleDao.java
 * 版权信息: Copyright 2001-2012 ZheJiang Collaboration Data System Co., LTD. All right reserved.
 * ----------------------------------------------------------------------------------------------
 * 修改历史:
 * ----------------------------------------------------------------------------------------------
 * 修改原因: 新增
 * 修改人员: huangwb
 * 修改日期: Mar 11, 2012
 * 修改内容: 
 */
package com.sxkj.cyezj.pojo;

import java.util.List;

public class Module {

		/**  */
   		private String mId;
		
		/**  */
   		private String name;
		
		/**  */
   		private String parentId;
   		
   		/********************************************************************************/
   		private List<Module> subModules;
	
		@Override
	    public String toString() {
	        StringBuffer sb = new StringBuffer();
	        sb.append("Module{")
	        .append(", mId=").append(mId)
	        .append("  name=").append(name)
	        .append(", parentId=").append(parentId)
            .append('}');
	        return sb.toString();
	    }
	
	    // -------------------------------- 以下为Gettter/Setter方法 -------------------------------- //
		
   		public String getMId(){
			return mId;
		}

		public void setMId(String mId){
			this.mId = mId;
		}
		
		
   		public String getName(){
			return name;
		}

		public void setName(String name){
			this.name = name;
		}
		
		
   		public String getParentId(){
			return parentId;
		}

		public void setParentId(String parentId){
			this.parentId = parentId;
		}

		public void setSubModules(List<Module> subModules) {
			this.subModules = subModules;
		}

		public List<Module> getSubModules() {
			return subModules;
		}
		
}